<!DOCTYPE html>
<html>
    <head>
        <title>
            home
        </title>
        <style>
            body{
                background-color:beige
            }
            .Mid{
                text-align:center
            }
        </style>
    </head>
    <body>
        <div class="Mid">
           <p>这是用户界面,你可以更新自己的信息</p>
           <form id="x" action="/user" method="POST" enctype="multipart/form-data">
            <input type="hidden" name="isImg" value=0></br>
            <label>用户昵称</label><input type="text" name="nickname"></br>
            <label>用户地址</label><input type="text" name="location"></br>
            <label>用户手机号</label><input type="text" name="phone"></br>
            <input type="submit"> 
           </form>
           <form id="x" action="/user" method="POST" enctype="multipart/form-data">
            <input type="hidden" name="isImg" value=1></br>
            <label>头像</label><input type="file" name="userAvatar"></br>
            <input type="submit">  
           </form>
        </div>
    </body>
</html>
